package com.gimi.cloud.bbp.dto.app;


import com.gimi.cloud.bbp.dto.base.BaseDTO;

import java.util.Date;

/**
 * Created by shazhiwei on 2017/12/27.
 */
public class AdDTO extends BaseDTO{

    private Integer id;
    private Integer columnId;
    private ColumnDTO column;
    private String adName;
    private String adStatus;//广告状态,a:未审核,b:审核中,c:待发布,d:已发布,e:已撤下
    private Date publishTime;//广告发布起始时间
    private Date endTime;//广告发布结束时间
    private Integer publishMan;//发布人
    private Date modifyTime;
    private Integer type;//广告类型
    private String coment;
    private Integer pageId;
    private String imgUrl;//'图片链接'
    private String targetUrl;//'跳转链接'
    private Integer positionNum;//位置序号
    private Integer adClass;//广告类别,1->商品,2->店铺,3->动态页面(服务端),4->动态页面(本地),5->搜索,6->静态页面
    private Integer adObject;//根据广告类别,1->商品,则为商品ID,2->店铺,店铺ID
    private String title;//主标题
    private String subTitle;//副标题
    private Integer price;//商品广告价格
    private Integer originalPrice;//商品原价


    /**
     * 页容量
     */
    private Integer pageSize;
    /**
     * 当前页
     */
    private Integer currentPage;

    public String getTargetUrl() {
        return targetUrl;
    }

    public void setTargetUrl(String targetUrl) {
        this.targetUrl = targetUrl;
    }

    public Integer getPageSize() {
        return pageSize;
    }

    public void setPageSize(Integer pageSize) {
        this.pageSize = pageSize;
    }

    public Integer getCurrentPage() {
        return currentPage;
    }

    public void setCurrentPage(Integer currentPage) {
        this.currentPage = currentPage;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getColumnId() {
        return columnId;
    }

    public void setColumnId(Integer columnId) {
        this.columnId = columnId;
    }

    public String getAdName() {
        return adName;
    }

    public void setAdName(String adName) {
        this.adName = adName;
    }

    public String getAdStatus() {
        return adStatus;
    }

    public void setAdStatus(String adStatus) {
        this.adStatus = adStatus;
    }

    public Date getPublishTime() {
        return publishTime;
    }

    public void setPublishTime(Date publishTime) {
        this.publishTime = publishTime;
    }

    public Date getEndTime() {
        return endTime;
    }

    public void setEndTime(Date endTime) {
        this.endTime = endTime;
    }

    public Integer getPublishMan() {
        return publishMan;
    }

    public void setPublishMan(Integer publishMan) {
        this.publishMan = publishMan;
    }

    public Date getModifyTime() {
        return modifyTime;
    }

    public void setModifyTime(Date modifyTime) {
        this.modifyTime = modifyTime;
    }

    public Integer getType() {
        return type;
    }

    public void setType(Integer type) {
        this.type = type;
    }

    public String getComent() {
        return coment;
    }

    public void setComent(String coment) {
        this.coment = coment;
    }

    public Integer getPageId() {
        return pageId;
    }

    public void setPageId(Integer pageId) {
        this.pageId = pageId;
    }

    public String getImgUrl() {
        return imgUrl;
    }

    public void setImgUrl(String imgUrl) {
        this.imgUrl = imgUrl;
    }

    public Integer getPositionNum() {
        return positionNum;
    }

    public void setPositionNum(Integer positionNum) {
        this.positionNum = positionNum;
    }

    public Integer getAdClass() {
        return adClass;
    }

    public void setAdClass(Integer adClass) {
        this.adClass = adClass;
    }

    public Integer getAdObject() {
        return adObject;
    }

    public void setAdObject(Integer adObject) {
        this.adObject = adObject;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getSubTitle() {
        return subTitle;
    }

    public void setSubTitle(String subTitle) {
        this.subTitle = subTitle;
    }

    public Integer getPrice() {
        return price;
    }

    public void setPrice(Integer price) {
        this.price = price;
    }

    public Integer getOriginalPrice() {
        return originalPrice;
    }

    public void setOriginalPrice(Integer originalPrice) {
        this.originalPrice = originalPrice;
    }

    public ColumnDTO getColumn() {
        return column;
    }

    public void setColumn(ColumnDTO column) {
        this.column = column;
    }
}
